package com.ruoyi.business.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 火车车厢对象 train_carriage
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
@Data
public class TrainCarriageVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Excel(name = "ID")
    private Long id;

    /** 车次编号 */
    @Excel(name = "车次编号")
    private String trainCode;

    /** 厢号 */
    @Excel(name = "厢号")
    private Long index;

    /** 座位类型|枚举[SeatTypeEnum] */
    @Excel(name = "座位类型|枚举[SeatTypeEnum]")
    private String seatType;

    /** 座位数 */
    @Excel(name = "座位数")
    private Long seatCount;

    /** 排数 */
    @Excel(name = "排数")
    private Long rowCount;

    /** 列数 */
    @Excel(name = "列数")
    private Long colCount;
    
    /** 错误原因 */
    @Excel(name = "错误原因", type = Excel.Type.EXPORT)
    private String errorMsg;
}
